package com.space.service;

import com.space.entity.Expense;

import java.util.List;
import java.util.Map;

/**
 * @author : 港某
 * @date : 2020/2/16 12:27
 */
public interface ExpenseService {
    List<Expense> selectAllExpense();

    List<Expense> selectAllExpenseByUserId(int userId);

    Expense selectExpenseById(int expenseId, int userId);

    void deleteExpense(int expenseId, int userId);

    void updateExpenseFlightById(int expenseId, int flightId);

}
